package com.xhdx;

import java.math.BigDecimal;

import org.apache.commons.lang3.StringUtils;

public class Test4 {
    public static void main(String[] args) {
        String[] atr = "2020-07-25|634507|潘漫漫|6214586480025552354|0|0||||2020-07-25|11004.70|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|2020-07-25|0.00|0.00||0|0.00|0.00|0.00|12|hy".split("\\|");
        String statDt = atr[0];
        //账户核算机构 ACCT_ORG_CD
        String acctOrgCd = atr[1];
        //客户经理编号 CUST_MGR_NO
        String custMgrNo = atr[2];
        //账号 ACCT_NUM
        String acctNum = atr[3];
        //子户号 SUB_ACCT_NO
        String subAcctNo = atr[4];
        //账户ID INT_ACCT_NUM
        String intAcctNum = atr[5];
        //客户号 CUST_NUM
        String custNum = atr[6];
        //账户名称 ACCT_NAME
        String acctName = atr[7];
        //科目代码 SUBJ_CODE
        String subjCode = atr[8];
        //关联时间 RELE_DATE
        String releDate = atr[9];
        //存款余额 ACCT_BAL
        String acctBal = atr[10];
        //上年末余额 LAST_Y_ACCT_BAL
        String lastYAcctBal = atr[11];
        //累计积数 SUM_ACCUM
        String sumAccum = atr[12];
        //非派生日积数 N_DERIV_D_ACCUM
        String nDerivDAccum = atr[13];
        //非派生月积数 N_DERIV_M_ACCUM
        String nDerivMAccum = atr[14];
        //非派生年积数 N_DERIV_Y_ACCUM
        String nDerivYAccum = atr[15];
        //派生日积数 DERIV_D_ACCUM
        String derivDAccum = atr[16];
        //派生月积数 DERIV_M_ACCUM
        String derivMAccum = atr[17];
        //派生年积数 DERIV_Y_ACCUM
        String derivYAccum = atr[18];
        //派生存款余额 DERIV_ACCT_BAL
        String derivAcctBal = atr[19];
        //累计开始时间 SUM_START_DT
        String sumStartDt = atr[20];
        //累计非派生积数 SUM_N_DERIV_ACCUM
        String sumNDerivAccum = atr[21];
        //累计派生积数 SUM_DERIV_ACCUM
        String sumDerivAccum = atr[22];
        //账户性质 ACCT_STAT
        String acctStat = atr[23];
        //派生标志 DERIV_FLAG
        String derivFlag = atr[24];
        //累计贷款发放金额 SUM_DISTR_AMT
        String sumDistrAmt = atr[25];
        //累计借方转出金额 SUM_TRAN_OUT_AMT
        String sumTranOutAmt = atr[26];
        //转换比率 TRAN_RATIO
        String tranRatio = atr[27];
        //标志位 IND
        String ind = atr[28];
        System.out.println("ind="+ind);
        System.out.println("custMgrNo="+custMgrNo);
        System.out.println("tranRatio="+tranRatio);
    }
}
